<?php
return [
    'task'  => ['name' => '任务管理', 'children' => [
        ['path' => '/task/index'  , 'name' => '全部任务', 'target' => ''],
        ['path' => '/task/ido'    , 'name' => '我的任务', 'target' => ''],
        ['path' => '/task/icommit', 'name' => '我发布的', 'target' => ''],
        ['path' => '/task/itest'  , 'name' => '我要验收', 'target' => ''],
        ['path' => '/task/iqa'    , 'name' => '我要品控', 'target' => ''],
        ['path' => '/task/create' , 'name' => '发布任务', 'target' => ''],
    ]],
    'stats' => ['name' => '数据统计', 'children' => [
        [ 'path' => '/stats/todaylast' , 'name' => '今日概览', 'target' => ''],
        [ 'path' => '/stats/preview'   , 'name' => '版本预览', 'target' => ''],
        [ 'path' => '/stats/index'     , 'name' => '数量统计', 'target' => ''],
        [ 'path' => '/coder/index'     , 'name' => '生产力', 'target' => ''],
    ]],
    'pro'   => ['name' => '项目管理', 'children' => [
        [ 'path' => '/pro/index'   , 'name' => '项目管理', 'target' => ''],
        [ 'path' => '/tag/index'   , 'name' => '版本管理', 'target' => ''],
        [ 'path' => '/title/index' , 'name' => '分类&部门', 'target' => ''],
    ]],
    // 'golist' => ['name' => '全貌概览', 'children' => [
    //     '/golist/index' => '总览',
    //     '/golist/mod'   => '模块',
    //     '/golist/group' => '组组组',
    //     '/golist/task'  => '点点点',
    // ]],
    'user'  => ['name' => '成员信息', 'children' => [
        [ 'path' => '/user/index'   , 'name' => '管理', 'target' => ''],
        [ 'path' => 'javascript:ajax(\'/user/add\');'   , 'name' => '添加', 'target' => ''],
    ]],
    'other' => ['name' => '帮助', 'children' => [
        [ 'path' => '/other/abcx/how-to-use' , 'name' => '如何使用我', 'target' => '_blank'],
        [ 'path' => '/other/abcx/how-to-manage-bug' , 'name' => '高效管理任务', 'target' => '_blank'],
        [ 'path' => '/other/abcx/how-to-reportbug' , 'name' => '如何有效提交BUG', 'target' => '_blank'],
    ]],
];
